﻿@using InfoTech.VinhSon.Bussiness
@model IEnumerable<Article>
<div class="group-home-detail">
    @{
        if (Model.Any())
        {
            Article first = Model.First();
        <div class="article">
            <a title="@first.Description" class="image" href="@first.GetUrl()">
                <img src="/Resource/Article/@first.Thumbnail" alt="@first.Name" width="120" height="90"/></a>
            <a title="@first.Description" href="@first.GetUrl()">@first.Name</a>
            <p class="description">
                @Html.Raw(first.Description)
            </p>
        </div>
        <div class="list-article">
            <ul>
                @{
            bool flag = true;
            foreach (Article article in Model)
            {
                if (flag)
                {
                    flag = false;
                }
                else
                {
                    <li><a title="@article.Description" href="@article.GetUrl()">@article.Name</a></li>
                }
            }
                }
            </ul>
        </div>
        }
    }
    <div class="clear">
    </div>
</div>
